#Lindsay Ergenekan
#ergenekl@onid.oregonstate.edu
#CS311-400
#Homework2- Question5


import subprocess, urllib2, getopt, sys, os, numbers

def main(argv): 
   p = subprocess.Popen("who -bdlprTtu", stdout=subprocess.PIPE, shell=True)
   (output, err) = p.communicate()
   print "Users are: ", output



if __name__ == "__main__":
   main(sys.argv[1:])
